﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Citi.RoutineBase;

namespace Citi.GocAttributes.ConsoleUI
{
    public class CurrentAction : ICurrentAction
    {
        public string Description
        {
            set { Console.WriteLine(value); }
        }

        public void StartLog(string message)
        {

        }

        public void StartLogOnFile(string filePath)
        {

        }

        public void StopLog()
        {

        }

        public void StopLogOnFile()
        {

        }
    }

    class Program
    {
        static void Main(string[] args)
        {
            ICurrentAction currentAction = new CurrentAction();
            var parameters = new Dictionary<string, object>
            {
                {"RobotUsername", @"lac\lac_bra_ftools"},
                {"RobotPassword", "Ferrari3k10"},
                {"SoeidResponsible", "ND61955"}
            };

            //new SchedulerUI.ApplyRules().Start(DateTime.Today, ref currentAction, parameters);
            //new SchedulerUI.GocAttributesReportGeneration().Start(DateTime.Today, ref currentAction, parameters);
            var watch = new System.Diagnostics.Stopwatch();
            watch.Start();
            new SchedulerUI.ImportDsmt().Start(DateTime.Today, ref currentAction, parameters);
            watch.Stop();
            //new SchedulerUI.ImportGocCodes().Start(DateTime.Today, ref currentAction, parameters);
        }
    }
}
